<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <ul>
            <!-- v-for:循环 -->
            <!--item：表示数组里面的每一个值，是形参  -->
            <!--list:数组名称，来源于data  -->
            <li v-for="item in list">{{item}}</li>
            
        </ul>

    </div>
    <script src="./vue.js"></script>
    <script>
        let app = new Vue({
            el: "#app",
            data: {
                list: [1111, 2222, 3333, 4444]

            }
        })

 
    </script>
</body>

</html>